package fun.anin.aninhongbao.entity;

import lombok.Builder;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (WalletBill)实体类
 *
 * @author makejava
 * @since 2020-03-29 15:23:04
 */
@Data
@Builder
public class WalletBill implements Serializable {
    private static final long serialVersionUID = 838556020919357543L;
    /**
    * 自增主键
    */
    private Long id;
    /**
    * 用户id
    */
    private Long userId;
    /**
    * 1转入/2转出/3其他
    */
    private Integer type;
    /**
    * 金额
    */
    private Long money;
    /**
     * 去往用户id
     */
    private Long toUserId;
    /**
    * 消息
    */
    private String msg;
    /**
    * 时间
    */
    private Date datetime;
}